-- GENERATED SPELL FOR [Gretheer] --


function spell0_14472(pUnit, Event) --@Web,n/a--
pUnit:FullCastSpellOnTarget(745,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14472', 5337, 1)
end

function Sorts_14472(pUnit, Event)
local choix_sorts_14472 = math.random(0, 0)
if choix_sorts_14472 == 0 then
pUnit:RegisterEvent('spell0_14472', 1, 1)
end
end

function mob14472_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14472', math.random(1500, 3000), 1)
end

function mob14472_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14472_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14472_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14472, 1, 'mob14472_Action')
RegisterUnitEvent(14472, 2, 'mob14472_Leave')
RegisterUnitEvent(14472, 3, 'mob14472_Kill')
RegisterUnitEvent(14472, 4, 'mob14472_Die')
